package com.ahao.sdk.ui.dialog;

import android.content.Context;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.ahao.sdk.ui.base.BaseFullScreenWebViewDialog;

public class PayDialog extends BaseFullScreenWebViewDialog {
    private final String DefaultHTML = "file:///android_asset/ahao_www/DefaultPay.html";

    public PayDialog(@NonNull Context context) {
        super(context);
    }

    public PayDialog(@NonNull Context context, int themeResId) {
        super(context, themeResId);
    }

    protected PayDialog(@NonNull Context context, boolean cancelable, @Nullable OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
    }

    @Override
    protected void initView(ViewGroup contentView) {
        webView.loadUrl(DefaultHTML);
    }
}
